package com.carbonspark.ecoquest.infra.basic.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 挑战任务表(Task)实体类
 *
 * @author makejava
 * @since 2025-03-18 23:43:47
 */
public class Task implements Serializable {
    private static final long serialVersionUID = 890525303918242138L;

    private Long id;
/**
     * ​任务名称
     */
    private String taskName;
/**
     * 任务描述
     */
    private String taskDescription;
/**
     * 任务状态（0=即将开始，1=进行中，2=已结束）
     */
    private Integer taskStatus;
/**
     * 任务难度（0=初级，1=中级，2=高级
     */
    private Integer taskDifficulty;
/**
     * 任务类型
     */
    private String taskType;
/**
     * 任务开始时间
     */
    private Date startTime;
/**
     * 任务结束时间
     */
    private Date endTime;
/**
     * 创建人
     */
    private String createdBy;
/**
     * 创建时间
     */
    private Date createdTime;
/**
     * 更新时间
     */
    private Date updateTime;
/**
     * 更新人
     */
    private String updateBy;
/**
     * 0为已删除，1为未删除
     */
    private Integer isDelete;
/**
     * 热度/参与人数
     */
    private Long hot;
/**
     * 此次任务积分奖励
     */
    private Integer points;
/**
     * 任务分类id关联
     */
    private Integer categoryId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskDescription() {
        return taskDescription;
    }

    public void setTaskDescription(String taskDescription) {
        this.taskDescription = taskDescription;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Integer getTaskDifficulty() {
        return taskDifficulty;
    }

    public void setTaskDifficulty(Integer taskDifficulty) {
        this.taskDifficulty = taskDifficulty;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Long getHot() {
        return hot;
    }

    public void setHot(Long hot) {
        this.hot = hot;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

}

